const packageJson = require('../package.json');
const token ='eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJhdWQiOlsiYXBpIl0sImNvcnBJZCI6bnVsbCwidXNlcl9pZCI6IjJjOWY4ZGViOGRkNTJiZDkwMThkZTQzYTc1NzYwNmUwIiwidXNlcl9uYW1lIjoiYXV0aGluZSIsInNjb3BlIjpbInJlYWQiXSwibW9iaWxlIjpmYWxzZSwiaXNBZG1pbiI6dHJ1ZSwiZXhwIjoxNzIwNDU5MzI2LCJpc0FwcEFkbWluIjpmYWxzZSwiYXV0aG9yaXRpZXMiOlsiVVNFUiIsIkFVVEhfU1lTVEVNX01BTkFHRSJdLCJqdGkiOiJhNDRmYzAxZi00NjNiLTQ3NTItYWM0OS1iZWUxM2UyMTVmNmYiLCJjbGllbnRfaWQiOiJhcGkifQ.FLrYqZuL4_ARVZJvNtXqLmEoOwosbxl6rcs1P9_28rY7lvlyQ4HRQB4vLYphWlp55yCiV8Fv-g013TX-WG7Uc5QuhjSisuejRvR4dHgJlJRlY2FIxq3LDVfKMI_GLY1vPmNhJwA4AmQn3ORuQX1d1TzO6IwVun6KvvAaj2wRPwY'
const setDevToken = () => {
    if(process.env.NODE_ENV === 'development') {
        localStorage.setItem('token', token);
    }
}
console.log(`%cfrontendVersion:${packageJson.version}`, 'color: green;font-size: 16px');

//设置开发环境token
module.exports = setDevToken;
